using System;
using System.Collections;
using System.Collections.Generic;
using Me.Prettyprint.Hector.Api.Beans;

namespace Me.Prettyprint.Hector.Api.Query
{
    /// <summary>
    /// A query for the call get_range_slices.
    /// </summary>
    /// <typeparam name="K"></typeparam>
    /// <typeparam name="N"></typeparam>
	public interface RangeSlicesCounterQuery< K, N> : Query<OrderedCounterRows< K, N >>
	{
        /// <summary>
        /// Set the keys to query for
        /// </summary>
        /// <param name="start"></param>
        /// <param name="end"></param>
        /// <returns></returns>
        RangeSlicesCounterQuery<K, N> SetKeys(K start, K end);
        RangeSlicesCounterQuery<K, N> SetTokens(K startKey, string startToken, string endToken);
        RangeSlicesCounterQuery<K, N> SetRowCount(int rowCount);
        RangeSlicesCounterQuery<K, N> SetColumnNames(List<N> columnNames);
        List<N> ColumnNames
        {
            get;
        }
        /// <summary>
        /// Set the name of the column family
        /// </summary>
        /// <param name="cf"></param>
        /// <returns></returns>
        RangeSlicesCounterQuery<K, N> SetColumnFamily(string cf);
        RangeSlicesCounterQuery<K, N> SetRange(N start, N finish, bool reversed, int count);
        RangeSlicesCounterQuery<K, N> SetReturnKeysOnly();
	}
}